import { request, config } from 'utils'

const { api } = config
const { friendStatistics } = api

export function query(params) {
  return request({
    url: friendStatistics + '/query',
    method: 'get',
    data: params
  })
}

export function queryStatisticalDiagram(params) {
  return request({
    url: friendStatistics + '/queryStatisticalDiagram',
    method: 'get',
    data: params
  })
}

export function getChinaMapData(params) {
  return request({
    url: friendStatistics + '/chinaMapData',
    method: 'get',
    data: params
  })
}
